﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IUserRecipeService
    {
        public List<UserRecipeModel> MendingRange(List<UserRecipe> entities);
        public UserRecipeModel Mending(UserRecipe entity);
        //查询
        public List<UserRecipe> GetAllUserRecipes();
        public UserRecipe GetUserRecipeByIds(string recipeId,string paramterId);
        public bool CheckRepeated(UserRecipe entity);
        public bool addUserRecipe(UserRecipe entity);
        public bool updateUserRecipe(UserRecipe model);
        public bool DeleteUserRecipe(string recipeId, string parmaterId);
        public bool BatchDelUserRecipe(List<UserRecipe> Deleted);
    }
}
